package com.shop.cereshop.admin.service.config;

import com.shop.cereshop.admin.param.config.ConfigIdParam;
import com.shop.cereshop.admin.param.config.ConfigQueryParam;
import com.shop.cereshop.admin.param.config.ConfigSaveParam;
import com.shop.cereshop.admin.param.config.ConfigUpdateParam;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.domain.config.CereConfig;
import com.shop.cereshop.commons.domain.user.CerePlatformUser;
import com.shop.cereshop.commons.exception.CoBusinessException;

public interface CereConfigService {

    void save(ConfigSaveParam param, CerePlatformUser user) throws CoBusinessException;

    void update(ConfigUpdateParam param, CerePlatformUser user) throws CoBusinessException;

    void delete(ConfigIdParam param, CerePlatformUser user) throws CoBusinessException;

    Page<CereConfig> getAll(ConfigQueryParam param) throws CoBusinessException;

    CereConfig getById(Integer configId) throws CoBusinessException;
}


